﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WI_E2_Parser
{
    class Sites
    {
        public string url = "";
        DomainName domainName;

        public Sites(String tempUrl, DomainName domainId)
        {
            url = tempUrl;
            domainName = domainId;
        }

        public void visit()
        {
            domainName.updateTimeStamp();
        }

        public bool allowedToVisit()
        {
            return domainName.allowedToVisit();
        }
    }
}
